package model;

import java.io.Serializable;

public class Stock implements Serializable {
	private static final long serialVersionUID = 6970249154430021848L;
	private int id;
	private String name;
	private int price;
	
	public void setPrice(int price) {
		this.price = price;
	}

	public int getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public int getPrice() {
		return price;
	}

	public Stock(int id, String name, int price) {
		this.id = id;
		this.name = name;
		this.price = price;
	}

}
